﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GN.Pay.Core.Services
{
    /// <summary>
    /// 交易同步
    /// </summary>
    public interface ITradeSynchronization : IPayService
    {
        /// <summary>
        /// 交易通道支付同步
        /// </summary>
        /// <param name="tradeNo">交易号</param>
        void TradeChannelPay(string tradeNo);

        /// <summary>
        /// 异步交易通道支付同步
        /// </summary>
        /// <param name="tradeNo">交易号</param>
        Task TradeChannelPayAsync(string tradeNo);
    }
}
